<template>
  <div>
    <!-- <el-button @click="btnClick2">切换语言</el-button>
    <h3>{{ $t('xxx') }}</h3>
    <el-button @click="btnClick">全屏切换</el-button> -->
    <calendar :value.sync="fatherValue" />
  </div>
</template>
<script>
// import screenfull from 'screenfull'
// import cookieJs from 'js-cookie'
import calendar from './components/calendar.vue'
export default {
  name: '',
  components: { calendar },
  // inject: ['reload'],
  data() {
    return {
      fatherValue: new Date()
    }
  },
  computed: {},
  created() {},
  methods: {
    // btnClick() {
    //   if (screenfull.isEnabled) {
    //     screenfull.toggle()
    //   }
    // },
    // btnClick2() {
    //   const langArr = ['zh', 'en']
    //   const index = langArr.indexOf(this.$i18n.locale)
    //   this.$i18n.locale = langArr[1 - index]
    //   // 存储当前语言值
    //   cookieJs.set('lang', langArr[1 - index])
    //   // this.$router.go(0)
    //   // this.reload()
    //   this.bol = false
    //   this.$nextTick(() => {
    //     this.bol = true
    //   })
    // }
  }
}
</script>
<style lang="scss" scoped>
</style>
